/*
 * Copyright (c)  2018, XiQiao
 * All rights reserved. 
 *
 * Id:ParameterController.java   2018-06-30 16:14 wanglijun
 */
package io.marmot.web.controller;


import io.marmot.web.controller.vo.ParameterRequestVo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;

/**
 * <p>
 * Title:
 * </p>
 * <p>
 * Description:
 * </p>
 * <p>
 * Copyright: Copyright (c) 2018
 * </p>
 * <p>
 * Company: XiQiao
 * </p>
 *
 * @author: wanglijun
 * @create: 2018-06-30 16:14
 * @version：1.0
 */
@Slf4j
@RestController
@RequestMapping("/sys/parameter")
public class ParameterController {



    /***
     * 保存
     * @param vo
     * @return
     */
    @PostMapping
    public R<Void> save(@RequestBody ParameterRequestVo vo) {

        log.info (vo.toString ());

        return R.ok();
    }

    @DeleteMapping("/{id}")
    public R<Void> remove(@PathVariable Long id) {

        log.info("-----------{}",id);
        return R.ok();
    }
}
